﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ajax_poll.aspx.cs" Inherits="web_pages_ajax_poll" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" style="text-align:center;margin:auto;">
        <%
            if (Session["NTV_id"] != null)
            {
                if (act == "vote")
                { %>
        <div id="votefrm">
            <table border="0" cellpadding="0" cellspacing="0" style="width: 165px;border:1px dotted Blue;">
                <tr>
                    <td align="left" style="width: 100%; height: 20px;" valign="middle">
                        <asp:RadioButton ID="traloi1" runat="server" GroupName="vote" Text="Rất uy tín" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 100%; height: 20px;" valign="middle">
                        <asp:RadioButton ID="traloi2" runat="server" GroupName="vote" Text="Uy tín" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 100%; height: 20px;" valign="middle">
                        <asp:RadioButton ID="traloi3" runat="server" GroupName="vote" Text="Bình thường" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 100%" valign="middle">
                        <asp:RadioButton ID="traloi4" runat="server" GroupName="vote" Text="Tạm được" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 100%; height: 20px;" valign="middle">
                        <asp:RadioButton ID="traloi5" runat="server" GroupName="vote" Text="Không xác định" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 100%" valign="middle">
                        <asp:Button ID="btnVote" runat="server" Text="Đánh giá" OnClick="btnVote_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <%}} %>
      
        <div id="voteresult">
            <table border="0" cellpadding="0" cellspacing="0" style="width:465px;border:1px dotted Blue;">
                <tr>
                    <td align="left" style="width:25%;height:20px;" valign="middle">
                        Rất uy tín
                    </td>
                    <td align="left" style="height:20px;" valign="middle">
                        <%=stl1 %>
                        &nbsp; <i>  người đánh giá</i>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width:25%; height:20px;" valign="middle">
                        Uy tín
                    </td>
                    <td align="left" style="height:20px;" valign="middle">
                        <%=stl2 %>
                        &nbsp; <i>  người đánh giá</i>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width:25%; height:20px;" valign="middle">
                        Bình thường
                    </td>
                    <td align="left" style="height:20px;" valign="middle">
                        <%=stl3 %>
                        &nbsp; <i>  người đánh giá</i>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width:25%; height:20px;" valign="middle">
                        Tạm được
                    </td>
                    <td align="left" style="height:20px;" valign="middle">
                        <%=stl4 %>
                        &nbsp; <i>  người đánh giá</i>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width:25%; height:20px;" valign="middle">
                        Không xác định
                    </td>
                    <td align="left" style="height:20px;" valign="middle">
                        <%=stl5%>
                        &nbsp; <i>  người đánh giá</i>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left" style="width:100%" valign="middle">
                        <div style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px">
                            <a href="javascript:void();" onclick="javascript:window.close()">
                                Đóng lại </a>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
